<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport"
          content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <title></title>
    <style>
        html, body {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
        }
    </style>
</head>
<body>
<div id="weiXinCover"
     style="width:100%;height:100%;background:rgba(0,0,0,0.7);position:fixed;display:none;">
    <img src="live_weiXin.png" style="position:fixed;top:30px;right:10px;width:80%;height:auto;">
</div>
<script>
    var ua = navigator.userAgent.toLowerCase();
    if (ua.match(/MicroMessenger/i) != "micromessenger") {
        //判断在微信打开
        document.getElementById("weiXinCover").style.display = 'block';
    }
</script>
</body>
</html>